package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.School;
import com.xxgc.ssm.po.SchoolExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @lin yuan hui
 * @date 2021/12/14/10:58
 */
public interface SchoolMapper {
    long countByExample(SchoolExample example);

    int deleteByExample(SchoolExample example);

    int deleteByPrimaryKey(Long sId);

    int insert(School record);

    int insertSelective(School record);

    List<School> selectByExample(SchoolExample example);

    School selectByPrimaryKey(Long sId);

    int updateByExampleSelective(@Param("record") School record, @Param("example") SchoolExample example);

    int updateByExample(@Param("record") School record, @Param("example") SchoolExample example);

    int updateByPrimaryKeySelective(School record);

    int updateByPrimaryKey(School record);
}